import asyncComponent from './asyncComponent'


const Home  = asyncComponent(() => import("../view/Home"));
const Hello  = asyncComponent(() => import("../view/Hello"));



const routes = [
    {
        path: '/',
        exact: true,
        component: Home
    },{
        path: '/hello',
        exact: true,
        component: Hello
    },
]

export default routes